package com.loong.common.executor;

import com.loong.common.function.CommonExecutor;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;

@Component
public class AsyncExecutor {

    @Async
    public void async(CommonExecutor executor){
        executor.execute();
    }


}
